package top.itlir.edc.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import top.itlir.edc.domain.Area;
import top.itlir.edc.domain.SubArea;

public interface AreaService {

	void batchSave(List<Area> areas);

	Page<Area> findAll(Specification<?> spec, Pageable pageable);

	List<Area> findAll();


}
